package com.frxuexi.mdm2201

import androidx.compose.runtime.Composable
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.frxuexi.mdm2201.view.MainPage
import com.frxuexi.mine.myLogin

@Composable
fun MyNavController() {

    val navController = rememberNavController()
    NavHost(navController = navController, startDestination = "login"){
        composable("welcome"){WelcomePage()}
        composable("login"){
//            myLogin(){}
        }
    }
}